import { lazy } from 'react'
import { RouteObject } from 'react-router-dom'
const Desktop = lazy(() => import('@/views/desktop/Desktop'))
const Setting = lazy(() => import('@/views/setting/Setting'))

const routes: RouteObject[] = [
  {
    path: '/',
    element: <Desktop />,
  },
  {
    path: '/setting',
    element: <Setting />,
  },
]

export default routes
